<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viiewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="../css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="../css/zxiu_spjs.css"/>
	</head>
	<body>
		<header class="header">
			<div class="top_pink"> 					
				<img src="../img/3.png"  onclick="javascript:history.back(-1);"/>
				<span class="text">商品介绍</span>
				<img src="../img/fenxiang.png"/>
			</div>
		</header>
		
		<section class="section">
			<div class="time"> <span id="LeftTime"></span></div>
			<div class="hsyf">
				<img src="../img/hstx.png"/>
			</div>
			<div class="jiaqian">
				<img src="../img/hstxjq.png"/>
			</div>
			<div class="scj">
				<p>市场价：<span>￥439</span>&nbsp;4.8折&nbsp;&nbsp;125人购买</p>
			</div>
		</section>
		
		<footer class="footer">
			<ul class="menus">
				<li>
					<span>介绍</span>
				</li>
				<li>
					<span>详情</span>
				</li>
				<li>
					<span>实拍</span>
				</li>
			</ul>
		</footer>
		
		<script>
			function FreshTime(){
			    var endtime = new Date("2017/5/1,12:12:12");//结束时间
			    var nowtime = new Date();//当前时间
			    var lefttime = parseInt((endtime.getTime()-nowtime.getTime())/1000); 
			    d = parseInt(lefttime/3600/24);
			    h = parseInt((lefttime/3600)%24);
			    m = parseInt((lefttime/60)%60);
			    s = parseInt(lefttime%60);
			 
			    document.getElementById("LeftTime").innerHTML="距离结束时间：" + d+"天"+h+"小时"+m+"分"+s+"秒";
			    if(lefttime<=0){
			        document.getElementById("LeftTime").innerHTML="团购已结束";
			        clearInterval(sh);
			    }
			}
		    FreshTime();
		    var sh;
		    sh = setInterval(FreshTime,1000);
		</script>
		
		<script src="../js/jquery-2.2.4.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/flexible_css.debug.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/flexible.debug.js" type="text/javascript" charset="utf-8"></script>
	</body>
</html>
